*{margin:0;padding:0;}

.form-div{
    padding: 20px;
    border: 1px solid #eee;
    font: 14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;
}

.form-div .form:after{
    content:"";
    display:block;
    height:0;
    clear:both;
    visibility:hidden;
}
.form-div .form .form-item::after{
    content:"";
    display:block;
    height:0;
    clear:both;
    visibility:hidden;
}

.form-div .form{
    *zoom:1;
}


.form-div .form .form-item{
    margin-bottom: 15px;
}

.form-div .form .form-item .form-label{
    float: left;
    display: block;
    padding: 9px 15px;
    width: 80px;
    font-weight: 400;
    line-height: 20px;
    text-align: right;
    font: 14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;
}

.form-div .form .form-item .input-block{
    margin-left: 110px;
    min-height: 36px;
    line-height:36px;
}
.form-div .form .form-item .input-inline{
    float: left;
    width: 190px;
    margin-right: 10px;
    font: 14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;
}

.form-div .form .form-item  .form-input{
    height: 38px;
    line-height: 1.3;
    border-width: 1px;
    border-style: solid;
    background-color: #fff;
    color: rgba(0,0,0,.85);
    border-radius: 2px;
    border-color: #eee;
    outline:none;
    display: block;
    width: 100%;
    padding-left: 10px;
}

.form-div .form .form-item  .form-input:focus{
    border-color: #cfcfcf;
}

.form-div .form .form-mid{
    float: left;
    display: block;
    padding: 9px 0 !important;
    line-height: 20px;
    margin-left: 10px;
    color: #999 !important;
}


.select-menu-ul{
    margin-top:50px;
    list-style:none;
    opacity:0;
    display:none;
    width:593px;
    text-align:left;
    border:1px solid #ddd;
    background:#fff;
    position:absolute;
    z-index:1;
}
.select-menu-ul li{
    padding: 8px 12px;
}
.select-menu-ul li:hover{
    background:#f2f2f2;
    
}
.select-menu-div{
    padding-left: 10px;
    position:relative;
    border:1px solid #ddd;
    line-height:30px;
    width: 100%;
}
.select-menu-div:focus{
    border-color: #ad2020;
}

.select-this{
    background:#5FB878;
}
.select-this:hover{
     background:#5FB878!important;
}
.fa-caret-down{
    margin-right:5px;
    position:absolute;
    right:0;
    top:13px;
    color: #c7c7c7;
}
.select-menu-input{
    outline: none;
    border:0;
    height:38px;
    cursor:pointer;
    user-select:none;
    width: 100%;
    
}

.select-menu-i{
  transform:rotate(180deg);
}

.fa-caret-down{
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

input[type="checkbox"]{
    display: none;
}

.form-checkbox{
    margin-top: 4px;
    height: 30px;
    line-height: 30px;
    margin-right: 10px;
    cursor: pointer;
    font-size: 0;
    transition: .1s linear;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
    background-color: #fff;
}

.form-checkbox span{
    display:inline-block;
    padding: 0 10px;
    height: 100%;
    font-size: 14px;
    border-radius: 2px 0 0 2px;
    background-color: #d2d2d2;
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


.form-checkbox i{
    width: 30px;
    height: 28px;
    border: 1px solid #d2d2d2;
    border-left: none;
    border-radius: 0 2px 2px 0;
    color: #fff;
    font-size: 20px;
    text-align: center;
    display: inline-block;
}




.form-item .testswitch {
    position: relative;
    float: left; 
    width: 55px;
    margin-top: 6px;
    -webkit-user-select:none; 
    -moz-user-select:none; 
    -ms-user-select: none;
}
 
.form-item .testswitch-checkbox {
    display: none;
}
 
.form-item .testswitch-label {
    display: block; 
    overflow: hidden; 
    cursor: pointer;
     border: 1px solid #e9e9e9;
    border-radius: 20px;
}
 
.form-item .testswitch-inner {
    display: block; 
    width: 200%; 
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
 
.form-item .testswitch-inner::before,  .testswitch-inner::after {
    display: block; 
    float: right; 
    width: 50%; 
    height: 24px; 
    padding: 0; 
    line-height: 24px;
    font-size: 12px; 
    color: white; 
    font-family: 
    Trebuchet, Arial, sans-serif; 
    font-weight: bold;
    box-sizing: border-box;
}
 
.form-item .testswitch-inner::after {
    content: attr(data-on);
    padding-left: 5px;
    background-color: #5fb878; 
    color: #FFFFFF;
}
 
.form-item .testswitch-inner::before {
    content: attr(data-off);
    padding-right: 5px;
    background-color: #fff; 
    color: #999999;
    text-align: right;
}
 
.form-item .testswitch-switch {
    position: absolute; 
    display: block; 
    width: 16px;
    height: 16px;
    margin: 4px;
    background: #d2d2d2;
    top: 0; 
    bottom: 0;
    right: 30px;
    /*! border: 2px solid #999999; */ 
    border-radius: 20px;
    transition: all 0.3s ease-in 0s;
}
 
.form-item .testswitch-checkbox:checked +  .testswitch-label .testswitch-inner {
    margin-left: 0;
}
 
.form-item .testswitch-checkbox:checked +  .testswitch-label .testswitch-switch {
    right: 0px; 
    background-color: #fff;
}


.form-item input[type="radio"]:checked::before {
    background: #4caf50;
}

.form-item input[type="radio"]:checked::before {
    transform: scale(1);
}

.form-item input[type="radio"]:checked{
    border: 2px solid #4caf50;
}

.form-item input[type="radio"]::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 3.2px;
    transform: scale(0);
    transition: all ease-out 250ms;
}



.form-item input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    height: 20px;
    width: 20px;
    vertical-align: -0.8rem;
    transition: all .15s ease-out 0s;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    margin: .4rem;
    outline: none;
    border: 2px solid #d0d0d0;
    border-radius: 50%;
}

.form-item .radio i{
    font: 14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;
}
.form-item .radio label{

    display: inline-block;
    margin-right: 15px;
    float: left;
}

.form-item .radio label:hover i{
    color: #4caf50;
}
.form-item .radio label:hover{
    cursor:pointer
}

.form-item .radio label:hover input[type="radio"]{
    
    border: 2px solid #4caf50;
}

.form-item .form-textarea{
    outline: none;
    min-height: 100px;
    height: auto;
    line-height: 20px;
    resize: vertical;
    display: block;
    width: 100%;
    padding-left: 10px;
    height: 38px;
    line-height: 1.3;
    line-height: 38px\9;
    border-width: 1px;
    border-style: solid;
    background-color: #fff;
    color: rgba(0,0,0,.85);
    border-radius: 2px;
    border-color: #eee;
    font: 14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;
}

.form-item .form-btn{
    margin-left: 10px;
    height: 38px;
    line-height: 38px;
    border: 1px solid transparent;
    padding: 0 18px;
    background-color: #009688;
    white-space: nowrap;
    text-align: center;
    font-size: 14px;
    border-radius: 2px;
    cursor: pointer;
    outline: 0;
    -webkit-appearance: none;
    -webkit-transition: all .3s;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
    font-family: inherit;
    font-style: inherit;
    font-weight: inherit;
    color: #fff;
}
.form-item .form-btn:hover{
    opacity: .8;
    filter: alpha(opacity=80);
}

.form-item .form-btn-primary{
	border-color: #d2d2d2;
	background: 0 0;
	color: #666;
}